<!DOCTYPE html>
<html lang="ZH_cn">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<title>阿来是</title>
	<link rel="stylesheet" href="__PUBLIC__/home/css/index.css">
	<link rel="stylesheet" href="__PUBLIC__/3rd/bootstrap/css/bootstrap.min.css">
	<script src="__PUBLIC__/3rd/jquery/jquery.min.js"></script>


	<link rel="shortcut icon" href="__PUBLIC__/images/favicon.ico"/>

</head>
<body>

	<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	  <div class="container-fluid ">
		  <div class="container">
		  	<ul class="list-inline nav_ul">
		  		<li class="nav_li"><strong><a href="{:U('Index/index')}" class=" <if condition="$action eq 'home'">default</if>" > 首页 </a></strong></li>
		  		<li class="nav_li"><strong><a href="{:U('Chat/index')}" class=" <if condition="$action eq 'chat'">default</if>"> 聊天室 </a></strong></li>
		  		<li class="nav_li"><strong><a href=""  class=" <if condition="$action eq 'luntan'">default</if>" >  论坛 </a></strong></li>
		  		<li class="nav_li"><strong><a href="{:U('Usercenter/usercenter',array('action'=>'usercenter'))}" class=" <if condition="$action eq 'usercenter'">default</if>"   >  个人空间</a></strong></li>
	<!-- <include file="Public:music" /> -->
		  		<!-- <li class="nav_li"><a href="">  保留 </a></li> -->
		  	</ul>
		  	<div class="user_manage">
				<if condition = "$Think.session.user_name eq '' ">

		  		<a  data-toggle="modal" data-target="#loginModal">
  					登录
				</a>
				<else/>
				<span>欢迎 </span>
				<span id="username">{$Think.session.user_name}</span>
                    <a href="javascript:void(0)" onclick="logout()">注销</a>
				</if>
		  	</div>

		  </div>
	  </div>
	</nav>
<!-- loading层 -->
<div id="loadingLayout" class="hide" style="position:fixed;top:51px;left:80px;
    right: 0px;
    bottom: 0px;
    display: flex;
    opacity: 0.5;
    background: rgb(222, 225, 226);
    z-index: 10000;
    text-align: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;">
	<img src='__PUBLIC__/home/img/loading.gif' alt=''>
</div>


 <script>
 var Think = {
     "APP": '__APP__',
     "URL": '__URL__',
     "ROOT": '__ROOT__',
     "PUBLIC": '__PUBLIC__'
 };</script>
